sum=0
n=eval(input())
for i in range(11,n):
    sum+=i
sum+=n;
print("sum = ",end='')
print(sum)